#include"node.h"

QueryNode::QueryNode(string name)
{
	this->isVirtual = false;
	this->name = name;
	this->label = name;
	this->correction = name;
	this->adj_list = map<string, QueryNode&>();
}

void QueryNode::add_edge(QueryNode &node)
{
	adj_list.insert(pair<string, QueryNode&>(node.name, node));
}